package com.example.foo.account.model;

import java.math.BigDecimal;

/**
 * 账户
 */
@com.baomidou.mybatisplus.annotation.TableName("account")
public class Account extends com.example.core.model.BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 科目
	 */
	public enum Acctc {
		pinmoney("零钱"),
		referralProfit("推荐收益"),
		teamProfit("团队收益"),
		fttProfit("网体收益")
		;
		public final String text;
		Acctc(String text) {
			this.text = text;
		}
	}

	/**
	 * 符号
	 */
	public enum Drcrbal {
		incr("总收入"),
		decr("总支出"),
		bal("总余额")
		;
		public final String text;
		Drcrbal(String text) {
			this.text = text;
		}
	}

	private Account.Acctc acctc;

	private Account.Drcrbal drcrbal;

	private BigDecimal total;

	private Long userId;

	public Account() {
	}

	/**
	 * @return 科目
	 */
	public Account.Acctc getAcctc() {
		return acctc;
	}

	/**
	 * @param acctc 科目
	 */
	public void setAcctc(Account.Acctc acctc) {
		this.acctc = acctc;
	}

	/**
	 * @return 符号
	 */
	public Account.Drcrbal getDrcrbal() {
		return drcrbal;
	}

	/**
	 * @param drcrbal 符号
	 */
	public void setDrcrbal(Account.Drcrbal drcrbal) {
		this.drcrbal = drcrbal;
	}

	/**
	 * @return 总计
	 */
	public BigDecimal getTotal() {
		return total;
	}

	/**
	 * @param total 总计
	 */
	public void setTotal(BigDecimal total) {
		this.total = total;
	}

	/**
	 * @return userId
	 */
	public Long getUserId() {
		return userId;
	}

	/**
	 * @param userId userId
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}

}
